import * as APIS from '../../../../../constants/api-constants';

export default (title: string) => {
  switch (title) {
    case '工作单位':
      return APIS.WORK_UNIT;
    case '附属单位':
      return APIS.AFFILIATED;
    case '工作职位':
      return APIS.JOB_POSITION;
    case '工作岗位':
      return APIS.OPERATING_POST;
    default:
      return '';
  }
};
